Xtractor is a simple utility which makes it easy to extract XCMD,XFCN, CURS, or PICT resources from any file. Xtractor takes those resources, and creates a folder of individual ResEdit files, each containing one of the resources. These are then suitable for you to drop into a REALbasic project.
USING XTRACTOR
Xtractor is easy to use. Simply open a file, using the Open╔ command from the File menu or by clicking on the Open button in the toolbar. When the file is opened, a window will appear which shows you how many XCMDs,XFCNs, CURSs, and PICTs are in that file.
You can extract just one type of resource, or all by selecting the appropriate choice, again from either the File menu or the toolbar. You will be presented with a file save dialog which lets you decide where the extracted resource files will be saved. As the externals are extracted, you will see a progress bar showing how far along the extraction process is at that point.
TERMS OF USE - LICENSE
Xtractor is free software. This license is designed not to restrict your
freedom except insofar as is necessary to ensure that the program remains free
for all.
Xtractor is copyright ⌐ red designs, 1998.
This license describes the conditions under which you may use, modify and
distribute version 1.1 of Xtractor ("the program"). Except where stated,
the conditions of this license apply equally to the source code for the
program, as well as to any compiled version. If you are unable or unwilling
to accept these conditions in full, then, notwithstanding the conditions in
the remainder of this license, you may not use, modify or distribute the
program at all.
1) Any action which is illegal under international or local law is forbidden
by this license. Any such action is the sole responsibility of the person
committing the action.
2) The program may be used free of charge by any person or organization to
whom it is made available, provided that that person accepts the conditions
of this license.
3) The program may be copied and distributed by any person or organization in
any way whatsoever, provided that any distribution is accompanied by a copy
of the Readme file pertaining to the program. You may not charge for
distributing the program without first informing the person to whom it is
distributed that Xtractor is free software. Furthermore, you may not charge
for distributing a modified version of the program unless the source code
for the modified version, or a list of differences between the modified
version and the original version, is publicly and freely available in
machine readable form.
4) You may make a reasonable charge for either of the following services,
provided in each case that the third party is made aware that Xtractor is free
software and that the charge is therefore for your labor, expertise and
costs.
i) Installing the program on a computer on behalf of a third party;
ii) Running the program and providing output from it to a third party.
You may not charge for these services in connection with a modified version
of the program unless the source code for the modified version, or a list
of differences between the modified version and the original version, is
publicly and freely available in machine readable form.
5) You may modify the program in any way you wish provided that all of the
following conditions are met:
i) Any modification in the source code is clearly marked as such;
ii) No modification is made to the Readme file; i.e. any documentation needed
on your changes must therefore be made in a separate file.
iii) All of the conditions of this license, and no other conditions, apply to
your modified version.
You may claim copyright for the parts of the program you have written.
You are encouraged to submit your changes to red designs for inclusion in
subsequent versions of Xtractor.
6) No warranty of any sort, expressed or implied, is provided in connection
with the program, including, but not limited to, implied warranties of
merchantibility or fitness for a particular purpose. Any cost, loss or
damage of any sort incurred owing to the malfunction or misuse of the
program or the inaccuracy of the documentation or connected with the program
in any other way whatsoever is the responsibility of the person who incurred
the cost, loss or damage. By using this program you give up any right to
seek any damages against the author(s) in connection with this program.
7) red designs reserve the right to make exceptions to any of these
conditions, or alter these conditions, at any time. However, you may always
use these conditions instead of any altered version if you prefer.
CONTACTING red designs
Visit our website at http://www.macconnect.com/~red/
- Xtractor now uses FullSFPack XFCN to replace standard File Dialogs : It allows to print a message in the dialog to tell the user what he has to choose ...
- Closing the toolbar now quit the application ...
- Some checking added for situations where no resource or no resource XCMD (or XFCN or CURS) where found ...
- Cosmetics changes where made :
. Cursor changes to a finger when an active button is under the mouse cursor
. Toolbar buttons where changed ...
. Xtracting buttons changes to disabled when no file has been opened or no when no Resource object is available ...
. Toolbar window can no more be Resized ...
. Xtractor application now has a custom icon ...
- Xtractor can now extract resources from applications ...
In an Hypercard stack every resource component has a name but some applications have none
You got a "Nil ... Exception" in Xtractor ...
Now Xtractor gives a name like "XCMDNoNameN" when you extract Nth XCMD.
Before using those "NoName"d in RB just change the file name in the finder ...
- Additions by Rick Downs
- PICT resources now can be extracted and saved as PICT files
- Drag and drop a file on Xtractor and it will launch and open the file (only works for one file) - if you drop more than one, you get a messagebox warning of this
Xtractor will not be developed further by red designs. Serge Palluel has been doing some further enhancements to the user interface as an exercise in learning REALbasic. You can see what he's been doing at his website, at
http://members.xoom.com/pserge/realbasic.htm.
A new program, called Resource Extractor, is under development. This program will function much like Xtractor, in that will allow you to extract resources from files. But its operation will be entirely drag-and-drop, much like Stuffit Expander. Check the red designs website for this future development!